from django.db import models


# Create your models here.
class Book(models.Model):
    class Meta:
        db_table = 'book'

    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=64, null=False)
    value = models.CharField(max_length=128, null=False)
    pub_date = models.DateTimeField(auto_now=True)
